package com.hyh.main;

import com.hyh.menu.Menu;
import com.hyh.menu.MenuComponent;
import com.hyh.restaurant.DinnerMenu;
import com.hyh.restaurant.PancakeHouseMenu;
import com.hyh.waitress.Waitress;

public class MenuTestDrive {

	public static void main(String[] args) {
		
		MenuComponent dinnerMenu = new DinnerMenu("dinner Menu", "I'am dinner menu");
		MenuComponent pancakeHouseMenu = new PancakeHouseMenu("pancake house Menu", "I'am pancake house menu");
		MenuComponent allMenu = new Menu("all menu", "I'm all menu");
		allMenu.add(dinnerMenu);
		allMenu.add(pancakeHouseMenu);
		Waitress waitress = new Waitress(allMenu);
		waitress.print();
	}
}
